
#import <UIKit/UIKit.h>

/*
 * 图片平铺，可是设置平铺区域。如： 保持边框不拉伸，只拉伸中间部分来实现平铺
 *
 *
 */

@interface UIImage (Stretch)

#pragma mark - Bubble cap insets
- (UIImage *)makeStretchableDefaultIncoming;

- (UIImage *)makeStretchableDefaultIncoming:(UIEdgeInsets)edgeInset;

-(UIImage *)circleImageWithName:(NSString *)name borderWidth:(CGFloat)borderWidth borderColor:(UIColor *)borderColor;


@end
